﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace ReservaWCF.Dominio
{
    [DataContract]
    public class Reserva 
    {
        [DataMember]
        public int ReservaID { get; set; }
        [DataMember]
        public DateTime FechaReserva { get; set; }
        [DataMember]
        public int Estado { get; set; }
        [DataMember]
        public string Comentario { get; set; }
        [DataMember]
        public DateTime FechaSalida { get; set; }
        [DataMember]
        public DateTime FechaRegreso { get; set; }
        [DataMember]
        public string CiudadOrigen { get; set; }
        [DataMember]
        public string CiudadDestino { get; set; }
        [DataMember]
        public string TipoVuelo { get; set; }
        [DataMember]
        public decimal MontoPago { get; set; }
        [DataMember]
        public string NombreContacto { get; set; }
        [DataMember]
        public string ApellidoContacto { get; set; }
        [DataMember]
        public string DireccionContacto { get; set; }
        [DataMember]
        public string EmailContacto { get; set; }
        [DataMember]
        public string TelefonoContacto { get; set; }
        [DataMember]
        public string CodigoReserva { get; set; }
        
        [DataMember]
        public PagoReserva PagoReserva { get; set; }
        //Detalles
        [DataMember]
        public List<DetalleReservaPasajero> DetalleReservaPasajero { get; set; }
        [DataMember]
        public List<DetalleReservaSegmento> DetalleReservaSegmento { get; set; }
        [DataMember]
        public string MensajeNoOK { get; set; }

        [DataMember]
        public string CodigoPago { get; set; }

        [DataMember]
        public String NomEstado { get; set; }
    }
}